﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace GNBaseService.PayDemo.OrderApp.Dto.Input
{
    /// <summary>
    /// 订单支付通知申请
    /// </summary>
    public class OrderPayChannelApplyInput : OrderPayApplyInput
    {
        /// <summary>
        /// 通道id
        /// <para>AliPay.Transfer = 支付宝网页支付</para> 
        /// <para>AliPay.MoblieWap = 支付宝手机Wap支付</para> 
        /// <para>AliPay.APP = 支付宝手机原生支付</para> 
        /// <para>WeiXin.QRCode = 微信扫码支付</para> 
        /// <para>WeiXin.APP = 微信手机原生支付</para>
        /// </summary>
        [Required]
        [MaxLength(20)]
        public string ChannelId { get; set; }

        /// <summary>
        /// 客户端Id,在控制器强制设置
        /// </summary>
        [Required]
        [MaxLength(255)]
        public string ClientIP { get; set; }
    }
}
